package com.hd.crdao.bean;

import java.io.Serializable;
import java.util.List;

/**
 *
 *@author Programming
 *@date 2017/6/5 0005
 */
public class MessageBean implements Serializable {


    /**
     * success : 00
     * message : 查询成功
     * total : 14
     * rows : [{"id":"0cfb39c645214a65af975ab007356e78","isNewRecord":false,"createDate":"2017-04-27 16:43:45","smTitle":"办理进度","smContent":"您的车辆已完成过户，车架号：GLDW568865DD26666","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"0dcf636045a441939b574fff8d3247e6","isNewRecord":false,"createDate":"2017-04-20 15:51:29","smTitle":"办理进度","smContent":"您的车辆已完成过户，车架号：66532368","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"1csxx","isNewRecord":false,"createDate":"2017-05-11 14:05:59","smTitle":"测试消息","smContent":"测试消息推送1","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"2csxx","isNewRecord":false,"createDate":"2017-05-11 14:06:57","smTitle":"半路进度","smContent":"测试消息推送2","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"2da3700d956e4945825653dac637c31b","isNewRecord":false,"createDate":"2017-04-25 14:59:12","smTitle":"办理进度","smContent":"车贷申请：估价审批通过，车贷：车融道网络(D26666)车贷","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"3fff1cb306da44deae7567d1dca4f962","isNewRecord":false,"createDate":"2016-08-08 15:07:09","smTitle":"测试","smContent":"推送消息测试","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"53c6945b3d1841fe849efc2f4d2ebec0","isNewRecord":false,"createDate":"2017-04-20 15:48:42","smTitle":"办理进度","smContent":"您已接受车贷:车融道网络(66532368)贷款的估价：25000.00!","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"54792a74857a4dd19b1ccffd6d38deca","isNewRecord":false,"createDate":"2017-04-27 17:20:16","smTitle":"办理进度","smContent":"车贷审批：最终审批通过，车贷：车融道网络(D26666)车贷","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"60e61f7251bc4050b3a1cc2d98d3895d","isNewRecord":false,"createDate":"2017-04-27 16:40:40","smTitle":"办理进度","smContent":"您已接受车贷:车融道网络(D26666)车贷的估价：68000.00!","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"6983721cd4624bc79d3b35ac1e198f06","isNewRecord":false,"createDate":"2017-04-18 16:41:43","smTitle":"办理进度","smContent":"授信申请：授信审批通过，车商：车融道网络，可以进行车贷申请","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"772eeb44ad3e4b4bab55ff617505399d","isNewRecord":false,"createDate":"2017-04-20 15:46:45","smTitle":"办理进度","smContent":"车贷申请：估价审批通过，车贷：车融道网络(66532368)贷款","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"9f6bdd10d5d1425586dba84b3352fc03","isNewRecord":false,"createDate":"2017-04-27 17:21:11","smTitle":"办理进度","smContent":"车融道网络(D26666)车贷：已放款成功，请注意查收！","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"abb2667c734d4764abf70135203e0bb5","isNewRecord":false,"createDate":"2017-04-27 17:20:40","smTitle":"办理进度","smContent":"车贷审批：放款审批通过，车贷：车融道网络(D26666)车贷，等待机构放款","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"},{"id":"db4ecc659675485ebf0cf3045d714ac5","isNewRecord":false,"createDate":"2017-05-16 13:57:27","smTitle":"办理进度","smContent":"车贷申请：估价审批通过，车贷：小温(336655)贷款","user":{"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""},"smType":"0","smSt":"0"}]
     */

    private int success;
    private String message;
    private int total;
    private List<RowsBean> rows;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean implements Serializable {
        /**
         * id : 0cfb39c645214a65af975ab007356e78
         * isNewRecord : false
         * createDate : 2017-04-27 16:43:45
         * smTitle : 办理进度
         * smContent : 您的车辆已完成过户，车架号：GLDW568865DD26666
         * user : {"id":"0d676d79fe304b41bf5947edefd1f3b4","isNewRecord":false,"name":"18559875109","loginFlag":"1","admin":false,"roleNames":""}
         * smType : 0
         * smSt : 0
         */

        private String id;
        private boolean isNewRecord;
        private String createDate;
        private String smTitle;
        private String smContent;
        private UserBean user;
        private String smType;
        private String smSt;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getSmTitle() {
            return smTitle;
        }

        public void setSmTitle(String smTitle) {
            this.smTitle = smTitle;
        }

        public String getSmContent() {
            return smContent;
        }

        public void setSmContent(String smContent) {
            this.smContent = smContent;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public String getSmType() {
            return smType;
        }

        public void setSmType(String smType) {
            this.smType = smType;
        }

        public String getSmSt() {
            return smSt;
        }

        public void setSmSt(String smSt) {
            this.smSt = smSt;
        }

        public static class UserBean implements Serializable {
            /**
             * id : 0d676d79fe304b41bf5947edefd1f3b4
             * isNewRecord : false
             * name : 18559875109
             * loginFlag : 1
             * admin : false
             * roleNames :
             */

            private String id;
            private boolean isNewRecord;
            private String name;
            private String loginFlag;
            private boolean admin;
            private String roleNames;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLoginFlag() {
                return loginFlag;
            }

            public void setLoginFlag(String loginFlag) {
                this.loginFlag = loginFlag;
            }

            public boolean isAdmin() {
                return admin;
            }

            public void setAdmin(boolean admin) {
                this.admin = admin;
            }

            public String getRoleNames() {
                return roleNames;
            }

            public void setRoleNames(String roleNames) {
                this.roleNames = roleNames;
            }
        }
    }
}
